﻿using System;

namespace VkontakteSharp.Model
{
    /// <summary>
    /// photo – фотография из альбома
    /// </summary>
    public class Photo : Attachment
    {
        [JsonMapping("pid", JsonMapping.MappingType.Primitive)]
        public long Id { get; set; }
        [JsonMapping("aid", JsonMapping.MappingType.Primitive)]
        public long AlbumId { get; set; }
        [JsonMapping("owner_id", JsonMapping.MappingType.Primitive)]
        public long OwnerId { get; set; }
        [JsonMapping("src", JsonMapping.MappingType.Primitive)]
        public string Src { get; set; }
        [JsonMapping("src_small", JsonMapping.MappingType.Primitive)]
        public string SrcSmall { get; set; }
        [JsonMapping("src_big", JsonMapping.MappingType.Primitive)]
        public string SrcBig { get; set; }
        [JsonMapping("text", JsonMapping.MappingType.Primitive)]
        public string Text { get; set; }
        [JsonMapping("created", JsonMapping.MappingType.Primitive)]
        public DateTime Created { get; set; }
        [JsonMapping("src_xbig", JsonMapping.MappingType.Primitive)]
        public string SrcXBig { get; set; }
        [JsonMapping("src_xxbig", JsonMapping.MappingType.Primitive)]
        public string SrcXxBig { get; set; }
        [JsonMapping("width", JsonMapping.MappingType.Primitive)]
        public int Width { get; set; }
        [JsonMapping("height", JsonMapping.MappingType.Primitive)]
        public int Height { get; set; }
        [JsonMapping("access_key", JsonMapping.MappingType.Primitive)]
        public string AccessKey { get; set; }
    }
}